package com.ymatou.iapi.brand.service;

import java.util.Map;

import org.json.JSONObject;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
/**
添加品牌别名
*/
public class AddProductBrandTagCall extends YmatouAutoTestCall{
	private static String opurl ="/api/Brand/AddProductBrandTag";
	
	public AddProductBrandTagCall() {
		super(EnvSetup.getSystemUrl("brand"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,textml,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	public static JSONObject addProductBrandTagCall(Map updateMap){
		AddProductBrandTagCall addProductBrandTagCall=new AddProductBrandTagCall();
		JSONObject ret=addProductBrandTagCall.callAndGetReturnData(updateMap);
		return ret;
	}
	
	public static void main (String args []){
		AddProductBrandTagCall  test = new AddProductBrandTagCall();
		test.callAndGetReturnData();
	}
}